package com.sea.artefactos.action;
import java.util.List;

import com.sea.artefactos.service.GestionarAFService;
import com.sea.model.Artefacto;

public class ListarAFAction {
		private List<Artefacto> artefacto;
		private  GestionarAFService service = new GestionarAFService();
		
		public String execute(){
			
			String camino ="success";
			artefacto=service.listarArtefactos();
			return camino;
		}

		public List<Artefacto> getArtefacto() {
			return artefacto;
		}

		public void setArtefacto(List<Artefacto> artefacto) {
			this.artefacto = artefacto;
		}
		
}
